package com.hqyj.smvc.pojo;

import lombok.Builder;

import java.util.List;

@Builder
public class Employee {

    private Integer employee_id;

    private Integer company_id;

    private Integer idcard_id;

    private String employee_name;

    private String employee_sex;

    private Integer employee_age;

    private String employee_password;

    private String employee_username;

    private Idcard idcard;

    private Company company;

    private List<Role> role;

    public Employee() {
    }

    public Employee(Integer employee_id, Integer company_id, Integer idcard_id, String employee_name, String employee_sex, Integer employee_age, String employee_password, String employee_username, Idcard idcard, Company company, List<Role> role) {
        this.employee_id = employee_id;
        this.company_id = company_id;
        this.idcard_id = idcard_id;
        this.employee_name = employee_name;
        this.employee_sex = employee_sex;
        this.employee_age = employee_age;
        this.employee_password = employee_password;
        this.employee_username = employee_username;
        this.idcard = idcard;
        this.company = company;
        this.role = role;
    }

    /**
     * 获取
     * @return employee_id
     */
    public Integer getEmployee_id() {
        return employee_id;
    }

    /**
     * 设置
     * @param employee_id
     */
    public void setEmployee_id(Integer employee_id) {
        this.employee_id = employee_id;
    }

    /**
     * 获取
     * @return company_id
     */
    public Integer getCompany_id() {
        return company_id;
    }

    /**
     * 设置
     * @param company_id
     */
    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }

    /**
     * 获取
     * @return idcard_id
     */
    public Integer getIdcard_id() {
        return idcard_id;
    }

    /**
     * 设置
     * @param idcard_id
     */
    public void setIdcard_id(Integer idcard_id) {
        this.idcard_id = idcard_id;
    }

    /**
     * 获取
     * @return employee_name
     */
    public String getEmployee_name() {
        return employee_name;
    }

    /**
     * 设置
     * @param employee_name
     */
    public void setEmployee_name(String employee_name) {
        this.employee_name = employee_name;
    }

    /**
     * 获取
     * @return employee_sex
     */
    public String getEmployee_sex() {
        return employee_sex;
    }

    /**
     * 设置
     * @param employee_sex
     */
    public void setEmployee_sex(String employee_sex) {
        this.employee_sex = employee_sex;
    }

    /**
     * 获取
     * @return employee_age
     */
    public Integer getEmployee_age() {
        return employee_age;
    }

    /**
     * 设置
     * @param employee_age
     */
    public void setEmployee_age(Integer employee_age) {
        this.employee_age = employee_age;
    }

    /**
     * 获取
     * @return employee_password
     */
    public String getEmployee_password() {
        return employee_password;
    }

    /**
     * 设置
     * @param employee_password
     */
    public void setEmployee_password(String employee_password) {
        this.employee_password = employee_password;
    }

    /**
     * 获取
     * @return employee_username
     */
    public String getEmployee_username() {
        return employee_username;
    }

    /**
     * 设置
     * @param employee_username
     */
    public void setEmployee_username(String employee_username) {
        this.employee_username = employee_username;
    }

    /**
     * 获取
     * @return idcard
     */
    public Idcard getIdcard() {
        return idcard;
    }

    /**
     * 设置
     * @param idcard
     */
    public void setIdcard(Idcard idcard) {
        this.idcard = idcard;
    }

    /**
     * 获取
     * @return company
     */
    public Company getCompany() {
        return company;
    }

    /**
     * 设置
     * @param company
     */
    public void setCompany(Company company) {
        this.company = company;
    }

    /**
     * 获取
     * @return role
     */
    public List<Role> getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(List<Role> role) {
        this.role = role;
    }

    public String toString() {
        return "Employee{employee_id = " + employee_id + ", company_id = " + company_id + ", idcard_id = " + idcard_id + ", employee_name = " + employee_name + ", employee_sex = " + employee_sex + ", employee_age = " + employee_age + ", employee_password = " + employee_password + ", employee_username = " + employee_username + ", idcard = " + idcard + ", company = " + company + ", role = " + role + "}";
    }
}